<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>博客登录</title>
  <link rel="stylesheet" href="login.css">
</head>

<body>
  <div class="login-container">
    <h2>欢迎登录博客</h2>
    <form id="login-form">
      <div class="form-group">
        <label for="username">用户名：</label>
        <input type="text" id="username" required placeholder="请输入用户名">
      </div>
      <div class="form-group">
        <label for="password">密码：</label>
        <input type="password" id="password" required placeholder="请输入密码">
      </div>
      <button type="submit">登录</button>
      <p class="register-link">还没有账号？<a href="register.html">立即注册</a></p>
    </form>
  </div>
  <script src="login.js"></script>
</body>

</html>